//+build wireinject

package demo4

import "github.com/google/wire"

func InitService() (Service, error) {
	wire.Build(NewService)
	return Service{}, nil
}

func InitServiceClean() (Service, func(), error) {
	wire.Build(NewServiceClean)
	return Service{}, nil, nil
}
